/*
 * led_init.h
 *
 *  Created on: 27.11.2011
 *      Author: Roma Jam
 */

#ifndef LED_INIT_H_
#define LED_INIT_H_



#define Led_power           GPIO_Pin_1

#define Led_power_gpio      GPIOB
#define Led_power_rcc       RCC_APB2Periph_GPIOB

#define Led_power_ON()      Led_power_gpio->BSRR = Led_power
#define Led_power_OFF()     Led_power_gpio->BRR = Led_power

class led_t {
private:
public:
    void Init(void);
};

extern led_t LED;

#endif /* LED_INIT_H_ */
